﻿#pragma once
#include "afxdialogex.h"


// CSetSnDlg 对话框

class CSetSnDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CSetSnDlg)

public:
	CSetSnDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CSetSnDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_SET_BARCODE };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()

private:

	void InitClassData();

	void InitUiData();

	CButton* needScanBarcode = nullptr;
	CButton* checkCheckBarcode = nullptr;
	CEdit* editSnLen = nullptr;
	CEdit* editCpLen = nullptr;
	CEdit* editSnWith = nullptr;
	CEdit* editCpWith = nullptr;

public:
	virtual BOOL OnInitDialog();
	
	afx_msg void OnBnClickedButtonSave();
};
